package org.learnredis.student;

public class CurrentCourseComparator implements StudentComparator {

    @Override
    public int compare(Student s1, Student s2) {
        Integer s1Score = s1.getCurrentCourseNumber();
        Integer s2Score = s2.getCurrentCourseNumber();
        return s2Score.compareTo(s1Score);
    }
}
